package com.like.miaosha.redis;

/**
 * @ClassName AccessKey
 * @Description: TODO
 * @Author dongfengke
 * @Date 2022/1/18
 * @Version V1.0
 **/
public class AccessKey extends BasePrefix{
    private AccessKey(int expireSeconds,String prefix){
        super(expireSeconds,prefix);
    }
    //public static AccessKey access=new AccessKey(5,"access");
    public static AccessKey withExpire(int expireSeconds){
        return new AccessKey(expireSeconds,"access");
    }
}
